package com.falcon.modules.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.falcon.modules.domain.bo.RoleSearchParam;
import com.falcon.modules.domain.bo.UserSearchParam;
import com.falcon.modules.domain.dto.Role;
import com.falcon.modules.domain.dto.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleMapper extends BaseMapper<Role> {
    List<Role> list(Pagination page, @Param("param") RoleSearchParam param);
}
